package com.basin.common.mybatisplus.annotations;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 * @date: 2025/5/12 20:56
 * @description:
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Unique {
    @AliasFor("group")
    String[] value() default {};

    String[] group() default {};
}
